package com.jyh.springboot1.controller;

import com.jyh.springboot1.entity.Ali;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/11/15 15:57
 */
@RestController
@RequestMapping("/index")
public class AliController {
    @Autowired
    private Ali ali;
    @RequestMapping("/index")
    public Ali index(){
        return ali;
    }
}
